//---------------------------------------------------------------------------

#ifndef PROSM_POVERKIH
#define PROSM_POVERKIH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxClasses.hpp"
#include "cxControls.hpp"
#include "cxCustomData.hpp"
#include "cxData.hpp"
#include "cxDataStorage.hpp"
#include "cxDBData.hpp"
#include "cxEdit.hpp"
#include "cxFilter.hpp"
#include "cxGraphics.hpp"
#include "cxGrid.hpp"
#include "cxGridCustomTableView.hpp"
#include "cxGridCustomView.hpp"
#include "cxGridDBTableView.hpp"
#include "cxGridLevel.hpp"
#include "cxGridTableView.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "cxStyles.hpp"
#include <DB.hpp>
#include <ExtCtrls.hpp>
#include "cxButtons.hpp"
#include <ActnList.hpp>
#include <Menus.hpp>
#include "cxContainer.hpp"
#include "cxGroupBox.hpp"
#include <DBCtrls.hpp>
#include "DBAccess.hpp"
#include "IBC.hpp"
#include "MemDS.hpp"
//---------------------------------------------------------------------------
class TfrPROSM_POVERKI : public TForm
{
__published:	// IDE-managed Components
	TPanel *pTable;
	TPanel *pUPR;
	TcxGrid *sgPROSM_POV;
	TcxGridDBTableView *sgPROSM_POVDBTableView1;
	TcxGridLevel *sgPROSM_POVLevel1;
	TcxGridDBColumn *NOM;
	TcxGridDBColumn *NATH_POV;
	TcxGridDBColumn *KON_POV;
	TcxGridDBColumn *MARKA;
	TcxGridDBColumn *MODEL;
	TcxGridDBColumn *ZAV_NOM;
	TcxGridDBColumn *POK_SH_DO;
	TcxGridDBColumn *POK_SH_POSLE;
	TcxGridDBColumn *MARKA_OBM;
	TcxGridDBColumn *MODEL_OBM;
	TcxGridDBColumn *ZAV_NOM_OBM;
	TcxGridDBColumn *POK_OBM_DO;
	TcxGridDBColumn *POK_OBM_POSLE;
	TcxGridDBColumn *TARIF;
	TcxGridDBColumn *SUM_PERESH;
	TcxGridDBColumn *KOD_OP;
	TcxGridDBColumn *DATA_WOD;
	TcxButton *btPOISK;
	TActionList *ActionList1;
	TAction *ESC;
	TAction *POISK;
	TcxButton *btDEL;
	TAction *DEL;
	TPanel *pEdit;
	TcxGroupBox *gbSCH_ABON;
	TcxGroupBox *gbSCH;
	TLabel *Label6;
	TLabel *Label1;
	TLabel *Label2;
	TLabel *Label3;
	TDBText *labDAT_NATH_POV;
	TDBText *labDAT_KON_POV;
	TLabel *Label4;
	TDBText *labNOM;
	TLabel *Label5;
	TDBText *labMARKA;
	TDBText *labMODEL;
	TDBText *labZAV_NOM;
	TLabel *Label7;
	TDBText *labPOK_DO;
	TLabel *Label8;
	TDBText *labPOK_POSLE;
	TcxGroupBox *gbSCH_OBM;
	TLabel *Label9;
	TLabel *Label10;
	TLabel *Label11;
	TDBText *labMARKA_OBM;
	TDBText *labMODEL_OBM;
	TDBText *labZAV_NOM_OBM;
	TLabel *Label12;
	TDBText *labPOK_SCH_OBM_DO;
	TLabel *Label13;
	TDBText *labPOK_SCH_OBM_POSLE;
	TcxGroupBox *gbEdit;
	TLabel *Label14;
	TDBText *labSUM_DOBOR;
	TLabel *Label15;
	TLabel *Label16;
	TDBText *labKOD_OP;
	TDBText *labDAT_WOD;
	TcxGridDBColumn *VID_POV;
	TLabel *Label17;
	TDBText *labVID_POV;
	TIBCQuery *dsetPROSM_POV;
	TIBCDataSource *dsPROSM_POV;
	void __fastcall POISKExecute(TObject *Sender);
	void __fastcall DELExecute(TObject *Sender);
	void __fastcall ESCExecute(TObject *Sender);
	void __fastcall sgPROSM_POVDBTableView1CellClick(
          TcxCustomGridTableView *Sender,
          TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton,
          TShiftState AShift, bool &AHandled);
	void __fastcall FormShow(TObject *Sender);
private:	// User declarations
public:		// User declarations
int Stat,TIP;
String DAT_NATH_POV;
	__fastcall TfrPROSM_POVERKI(TComponent* Owner);
	void __fastcall TfrPROSM_POVERKI::Obnovi(int NOM);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrPROSM_POVERKI *frPROSM_POVERKI;
//---------------------------------------------------------------------------
#endif
